package com.example.iceman.stepcounterapp.db;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ModelContainer;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

/**
 * Created by iceman on 16/3/28 10:01
 * 邮箱：xubin865@pingan.com.cn
 */
@ModelContainer
@Table(database = AppDatabase.class)
public class StepDataBase extends BaseModel {
    //自增ID
    @PrimaryKey(autoincrement = true)
    public Long id;
    @Column
    public String year;
    @Column
    public String month;
    @Column
    public String dayInMonth;
    @Column
    public String week;
    @Column
    public String day;
    @Column
    public String hour;
    @Column
    public boolean upload;
    @Column
    public String user;
    @Column
    public int count;
}
